<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link rel="shortcut icon" href="../../../images/favicon.ico"
          type="image/x-icon"/>
    <title>宽带测速</title>
    <link href="css/test.css" rel="stylesheet" type="text/css"/>

    <!--
    <script type="text/javascript" src="../../../js/jquery.js"></script>
    <script type="text/javascript" src="../../../js/swfobject.js"></script>
    <script type="text/javascript" src="../../../js/jquery.progressbar.min.js"></script>
    <script type="text/javascript" src="js/chinatelCommon.js"></script>
    <script type="text/javascript" src="js/downtest.js"></script>
    -->

</head>

<body onload="init(0,0);">
<object id="qoeinfo"
        classid="CLSID:B2F9A248-3AB5-493F-A7F8-5B7A9D026ED2"
        style="display: none;"></object>
<div class="content">
    <div style="z-index:1;position:absolute!important; ">
        <div class="top fl">
            <div class="sub_menu fl">
                <ul>
                    <li class="aa"><a href="download.shtml"></a></li>
                    <li><img src="../images/menuline.gif"/></li>
                    <li class="bb"><a href="web.shtml"></a></li>
                    <li><img src="../images/menuline01.gif"/></li>
                    <li class="cc"><a href="explain.shtml" target="_blank"></a></li>
                </ul>
            </div>
        </div>
        <div class="clear"></div>
        <div class="sub_con">
            <div class="con_aa fl">
                <div class="tips" id="xtts">
                    <p id="upordown">系统将根据20秒内的下载速率计算出您所使用网络的平均网速。</p></div>
                <div class="loading" id="testviewSpan">
                    <p class="aa" id="testText">正在测试网速，请稍候......</p>

                    <div style="width:0; height:0;">
                        <div id="testResult1"
                             style="width:280px; height:20px; float:left;">
                            【您的电脑未安装flash插件. 请<a href='http://get.adobe.com/cn/flashplayer/'
                                                 style='color:red' target='_blank'>点击</a>进入下载界面】
                        </div>
                    </div>
                    <div id="spaceused1" style="padding-left:15px;"></div>
                    <p class="bb" id="realTimeSpan">即时下载速度：</p>

                    <div class="tip">下载测速是指电脑上网时下载文件的速度测试，受线路、电脑使用环境以及使用的网络应用等多因素影响，测速前建议您先看网络环境报告。规避一些对测速数据产生影响的问题。
                    </div>
                </div>
                <div class="result_cc fl" style="display:none" id="test_result">
                    <div class="con fl">
                        <p><img src="../images/f02.gif"/><span id="downpj"></span></p>

                        <p><img src="../images/f03.gif"/><span id="downband"></span></p>
                    </div>
                    <div class="btn fl">
                        <a href="#" id="start" onclick="startTest();">重新测速</a>

                        <p style="visibility:hidden;"><input type="checkbox" name="check"/>同时测试上传速率</p>
                    </div>
                </div>
                <div class="result_bb fl" style="display:none" id="viewResult">
                    <div class="bar">
                        <div class="img tr" id="downt"><img src="../images/icon08.gif"/></div>
                        <div class="img" id="upanddown" style="display: none"><img src="../images/icon09a.gif"/></div>
                        <div class="img" id="onlydown" style="display: none"><img src="../images/icon07a.gif"/></div>
                        <div class="img tl" id="upt" style="display: none"><img src="../images/icon10.gif"/></div>
                    </div>
                    <div class="detail fl">
                        <div id="noplugin">
                            <p class="aa"><img src="../images/f04.gif"/></p>

                            <p class="bb">平均值：<span id="downavg"></span></p>

                            <p class="bb">峰&nbsp;&nbsp;&nbsp;值：<span id="downmax"></span></p>
                        </div>
                        <div id="plugin">
                            <p class="aa"><img src="../images/f04.gif"/></p>

                            <p class="bb">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;下载测速平均值：<span id="down"></span></p>

                            <p class="bb">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;峰&nbsp;&nbsp;&nbsp;值：<span
                                    id="max"></span></p>

                            <p class="bb">其他程序占用平均值：<span id="back"></span></p>

                            <p class="bb">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;总体下载速率：<span
                                    id="alldown"></span></p>
                        </div>
                    </div>
                    <div class="detail fl" id="upresult" style="display: none">
                        <p class="aa"><img src="../images/f05.gif"/></p>

                        <p class="bb">平均值：<span id="upavg"></span></p>

                        <p class="bb">峰&nbsp;&nbsp;&nbsp;值：<span id="upmax"></span></p>
                    </div>
                    <div class="clear"></div>
                    <div style="width:460px">
                        <div class="link1"><a href="#" onclick="showDiv();">查看带宽换算表</a></div>
                        <div class="link" id="resultView" style="display: none;"><a href="#" onclick="showDiv2();">查看业务质量信息</a>
                        </div>
                    </div>
                </div>
            </div>

            <div class="con_bb fl">
                <div class="person" id="viewInfoGet" style="display: none">
                    <p class="aa"><span>IP地址：</span><span>获取中...</span></p>

                    <p><span>归属地：</span> <span>获取中...</span></p>

                    <p><span>签约带宽：</span> <span>获取中...</span></p>
                </div>
                <div id="viewInfoOK">
                    <div class="person" id="viewInfoOK2">
                        <p class="aa"><span>客户总带宽：</span> <span class="t1">0 K</span></p>
                    </div>
                </div>
                <div class="person" id="viewInfoError" style="display: none">
                    <p class="aa"><span>无法获取用户签约信息</span></p>

                </div>

                <div class="question">
                    <div class="list">
                        <ul>
                            <li><a href="question/webspeed13.shtml" target="_blank">什么是测试插件？如何卸载插件？</a></li>
                            <li><a href="question/webspeed12.shtml" target="_blank">50M/100M高带宽测速温馨提醒</a></li>
                            <li><a href="question/webspeed04.shtml" target="_blank">测速时应注意什么？</a></li>
                            <li><a href="question/webspeed10.shtml" target="_blank">如何手工设定测速网站？</a></li>
                            <li><a href="question/webspeed05.shtml" target="_blank">测试结果不理想怎么办？</a></li>
                            <li><a href="question/webspeed07.shtml" target="_blank">为何带宽一样但测试结果不同？</a></li>
                            <li><a href="question/webspeed08.shtml" target="_blank">测试结果达标，但仍觉网速慢？</a></li>
                            <li><a href="question/webspeed09.shtml" target="_blank">电信的测速结果真实吗？</a></li>
                            <li><a href="question/webspeed06.shtml" target="_blank">为何不同时间的测试结果有差异？</a></li>
                        </ul>
                    </div>
                </div>

            </div>
        </div>
        <div class="clear"></div>
    </div>
    <div class="tishikuang" id="popDiv" style="display:none;">
        <div class="header">
            <p>带宽换算表</p>

            <div class="header_button">
                <a href="#" class="button_cc" title="关闭" onclick="closeDiv();"><img src="../images/icon14.gif"/></a>
            </div>
        </div>
        <div class="clear"></div>
        <div class="tskcon_aa"><p>以下标准是宽带速率的基础考量值，可对照自己的签约带宽查看宽带速率。</p></div>
        <div class="tskcon_bb">
            <ul>
                <li><p class="aa">2M &nbsp;宽带</p>

                    <p class="bb">231-256 KB/秒</p></li>
                <li><p class="aa">4M &nbsp;宽带</p>

                    <p class="bb">461-512 KB/秒</p></li>
                <li><p class="aa">8M &nbsp;宽带</p>

                    <p class="bb">922-1024 KB/秒</p></li>
                <li><p class="aa">12M &nbsp;宽带</p>

                    <p class="bb">1383-1536 KB/秒</p></li>
                <li><p class="aa">20M &nbsp;宽带</p>

                    <p class="bb">2304-2560 KB/秒</p></li>
                <li><p class="aa">30M &nbsp;宽带</p>

                    <p class="bb">3456-3840 KB/秒</p></li>
                <li><p class="aa">50M &nbsp;宽带</p>

                    <p class="bb">5760-6400 KB/秒</p></li>
                <li><p class="aa">100M &nbsp;宽带</p>

                    <p class="bb">11520-12800 KB/秒</p></li>
            </ul>
        </div>
        <div class="clear"></div>
        <div class="tskcon_cc"><p></p></div>
    </div>
    <div class="tishikuang4" id="popDiv1" style="display:none;">
        <div class="header">
            <p>中国电信宽带测速</p>

            <div class="header_button">
                <!--            <a href="#" class="button_cc" title="关闭"><img src="../images/icon14.gif" /></a>
                -->          </div>
        </div>
        <div class="clear"></div>
        <div class="tskcon_aa fl">
            <p class="fl" style="color: #00BFFF;font-size: 14px">测速结果一般（偏慢），可能由于以下原因导致：</p>
        </div>
        <div class="tskcon_bb fl">
            <div class="tips">
                <p class="aa"><img src="../images/num01.gif"/></p>

                <p class="bb">电脑正在运行视频、下载、聊天类软件，建议关闭软件后再测速。<br/><img src="../images/icons.gif"/></p>

                <div class="clear"></div>
            </div>
            <div class="tips">
                <p class="aa"><img src="../images/num02.gif"/></p>

                <p class="bb">电脑连接路由器、交换机上网或通过无线网路上网，建议将电脑直接连接Modem/光猫后再测速。</p>

                <div class="clear"></div>
            </div>
            <div class="tips">
                <p class="aa"><img src="../images/num03.gif"/></p>

                <p class="bb">手机、笔记本、PAD、IPTV机顶盒等设备共享网路，建议关闭其他设备再测速。</p>

                <div class="clear"></div>
            </div>
            <div class="tips" style=" margin-top:52px;">
                <p style="color: red;">说明：电脑配置建议： 内存 2G、CPU主频 2G、硬盘转速 7200转/秒以上</p>
            </div>
        </div>
        <div class="clear"></div>
        <div class="tskcon_cc fl">
            <div class="button_aa fl" onclick="startTestTwo();">再次测速</div>
            <div class="button_aa fr" onclick="closeDiv3();">关闭窗口</div>
        </div>

    </div>

    <div class="tishikuang3" id="quality" style="display:none;">
        <div class="header">
            <p>业务质量信息</p>

            <div class="header_button">
                <a href="#" class="button_cc" title="关闭" onclick="closeDiv2();"><img src="../images/icon14.gif"/></a>
            </div>
        </div>
        <div class="clear"></div>
        <div id="bandbusiness">
            <div class="tskcon_aa"><p>宽带业务质量</p></div>
            <div class="tskcon_bb" style="margin-top:8px;" id="showfz1">
                <ul>
                    <li><p class="aa">接入类型</p>

                        <p class="bb" id="access_type"></p></li>
                    <li><p class="aa">上行噪声裕度</p>

                        <p class="bb"><span>$CurNsemgnUp</span><span
                                id="ajt2" style="display:none"> <img src="../images/icon19.gif"
                                                                     align="absmiddle"/> </span><span>(>11dB)</span></p>
                    </li>
                    <li><p class="aa">下行噪声裕度</p>

                        <p class="bb"><span>$CurNsemgnDn</span><span
                                id="bjt2" style="display:none"> <img src="../images/icon19.gif"
                                                                     align="absmiddle"/> </span><span>(>11dB)</span></p>
                    </li>
                    <li><p class="aa">上行衰减</p>

                        <p class="bb"><span>$CurAtnUp</span></p></li>
                    <li><p class="aa">下行衰减</p>

                        <p class="bb"><span>$CurAtnDn</span></p></li>
                </ul>
            </div>
            <div class="tskcon_bb" style="margin-top:8px;display: none;" id="showfz2">
                <ul>
                    <li><p class="aa">接入类型</p>

                        <p class="bb">FTTH</p></li>
                    <li><p class="aa">光衰</p>

                        <p class="bb"><span>$OpticalLess</span><span
                                id="ajt1" style="display:none"> <img src="../images/icon18.gif"
                                                                     align="absmiddle"/> </span><span>(≤27dB)</span></p>
                    </li>
                    <li><p class="aa">接收光功率</p>

                        <p class="bb"><span>$RxPower</span></p></li>
                    <li><p class="aa">发送光功率</p>

                        <p class="bb"><span>$TxPower</span></p></li>
                </ul>
            </div>
            <div class="clear"></div>
        </div>
        <div class="tskcon_aa" style="margin-top:8px;"><p>iTV业务质量</p></div>
        <div class="tskcon_bb" style="margin-top:8px;">
            <ul>
                <li><p class="aa">iTV测试评价</p>

                    <p class="bb" id="itvpj"></p></li>
            </ul>
        </div>
        <div class="tskcon_cc"><p id="itv_result"></p></div>
    </div>
</div>

<!-- 显示提示框 -->
<div id="cover" style="display:none"></div>
<div id="tishikuang" class="tishikuang2" style="display:none">
    <div class="header">
        <p id="tsk_title"></p>

        <div class="header_button">
            <a href="#" class="button_cc" title="关闭"><img
                    src="../images/icon14.gif" onclick="closetishikuang();"
                    onmouseover="this.src='../images/icon14.gif'"
                    onmouseout="this.src='../images/icon14.gif'"/> </a>
        </div>
    </div>
    <div class="clear"></div>
    <div class="con">
        <img src="../images/ticon14.gif"/>

        <p id="tsk_content"></p>
    </div>
    <div class="clear"></div>
    <div class="footer">
        <input type="button" class="button_aa" id="do_sure_button" value="确定"
               onclick="do_sure();" onmouseover="this.className='button_aahover'"
               onmouseout="this.className='button_aa'"/> <img
            src="../images/blank.gif" width="30" height="3"/> <input
            type="button" class="button_aa" id="do_cancel_button" value="取消"
            onclick="do_cancel();" onmouseover="this.className='button_aahover'"
            onmouseout="this.className='button_aa'"/>
    </div>
    <input type="hidden" id="tsk_flg"/>
</div>

<script type="text/javascript">
    var AccessType = "";
    var compliance = "band*115.2";
    var userBand = "0";
    var weighted = "0.3|0.7";
    var loginType = "NM";
    var downloadUrl = "http://61.139.100.170/download/300.data";
    var local = "14";
    var progress = 0;
    var testStat = 0;
    var testsource = 3;
    var all_pj = "";
    var ps = 50;
    var resultCode = "";
    var CurNsemgnUp = "";
    var CurNsemgnDn = "";
    var OpticalLess = "";
    var jqstatu = "";
    var province = "1";
    var lastpj = "1";
    var ngcc = "0";
    var transactionId = "2";
    var mark = 0;
    var isSuccess;
    var uploadUrl = "171.221.249.2";
    var port = "8183";
    var testTimes = 20;
    var ip = "14.154.189.224";
    var userno = "";
    var pingPort = 8084;
    var all = false;
    var twotest = 0;
    var upband = "0";
    var resultCode = "";
    $(function () {
        if (userBand == "$userBand") {
            window.location.href = "index.shtml";
        }


        checkPlugin();
        if (loginType == "ZW") {
            assign();
        }
        var flashvars = false;
        var params = {};
        params.wmode = "transparent";
        params.name = "always";
        var attributes = {};
        attributes.id = "Qoe";
        swfobject.embedSWF("../commons/speedTest.swf?time=201501061111", "testResult1", "1", "1", "9.0.0", "", flashvars, params, attributes);
    });

</script>
</body>
</html>
